<html>
<header>
    <title>前后联调</title>
    <style>
        h1{
            display: block;
            width: 100%;
            text-align: center;
            margin-top: 100px;
        }
        input {
            width: 200px;
            height: 40px;
            padding-left: 20px;
        }
        body{
            background-image: linear-gradient(to top, #cfd9df 0%, #e2ebf0 100%);
        }
        div{
            width: 300px;
            height: 180px;
            display: block;
            margin: auto;
            background: #5f42ed;
            color: aliceblue;
            font-size: 18px;
            font-weight: 600;
            padding: 50px 50px;
            box-shadow: 8px 8px 8px #888888;
        }
        button{
            height: 40px;
            width: 100px;
            background: #de2123;
            display: block;
            float: right;
            margin-right: 30px;
            margin-top: 30px;
            font-size: 18px;
            font-weight: 500;
            color: aliceblue;
            cursor: pointer;
            border: #ada6fa 1px solid;
        }
        button:hover{
            background: #fd3435;
        }
    </style>
</header>
<body>
<h1>欣知商城</h1>
<div>
<form id="myForm" action="/user" method="post">
    用户名：<input name="username" type="text"><br><br>
    密&nbsp;&nbsp;&nbsp;码：<input name="password" type="password"><br>
    <button id="btn">登 录</button><br>
</form>
</div>

</body>
</html>